﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace RecruitmentPage.Models.RPModel
{
    public class WorkExperience
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public Guid UniqueId { get; set; }
        public string CompanyName { get; set; }
        public string JobTitle { get; set; }

        public string Achieve { get; set; }
        public bool CurrentJob { get; set; }


        [ForeignKey("LocationId")]
        public Location Location { get; set; }
        public Guid LocationId { get; set; }

        [ForeignKey("JobLevelId")]
        public JobLevel JobLevel { get; set; }
        public Guid JobLevelId { get; set; }

        [ForeignKey("IndustryId")]
        public Industry Industry { get; set; }
        public Guid IndustryId { get; set; }


        [ForeignKey("PersonalId")]
        public PersonalInfor PersonalInfor { get; set; }
        public Guid PersonalId { get; set; }

    }
}